﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
using TomNet.IMSC.Model.DbModels.Finance;

namespace TomNet.IMSC.Web.Areas.Finance.Models
{
    [NotMapped]
    public class FinanceRunningViewModel : FinanceRunnings //SellStaffID
    {
        public new int Id { set; get; }
        //public int State { get; set; }
        //public string IntermediaryName { get; set; }
        /// <summary>
        /// 经纪人姓名
        /// </summary>
        //public string UserName { get; set; }
        //public string UserPhone { get; set; }
        //public string CustomerName { get; set; }

        //public string CustomerPhone { get; set; }
        //public string BuildingName { get; set; }
        //public string Address { get; set; }
        //public string HouseOwnerName { get; set; }
        //public string HouseOwnerPhone { get; set; }

        //public int TransferDetailed { get; set; }//转件明细

        //public int Progress { get; set; }// 报备、搜集资料、面签、审批、放款
        public string ProgressStr { get; set; }// 报备、搜集资料、面签、审批、放款

        public string ProgressState { get; set; }// 报备、搜集资料、面签、审批、放款

        public string ProgressTime { get; set; }


        //public decimal Area { get; set; }
        /// <summary>
        /// 成交价
        /// </summary>
        //public decimal Price { get; set; }

        /// <summary>
        /// 也是收件人姓名
        /// </summary>
        public string SellStaffName { get; set; }
        /// <summary>
        /// 办件人姓名
        /// </summary>
        public string TransactStaffName { get; set; }
        //public int TransactStaffID { get; set; }

        /// <summary>
        /// 延时审批 1未审批 2已审批
        /// </summary>
        public int DelayOption { get; set; }

        /// <summary>
        /// 报备时间
        /// </summary>
        //public DateTime FilingTime { get; set; }//
        //public int FilingState { get; set; }//报备状态
        //public DateTime CollectDataTime { get; set; }//搜集资料
        //public int CollectDataState { get; set; }//搜集资料状态
        //进度提示
        public string ProgressTitle { set; get; }

        //-------------------------------
        //进度 状态 时间
        /// <summary>
        /// 报备审核时间
        /// </summary>
        //public DateTime FilingAuditingTime { get; set; }//

        public DateTime ContractTime { get; set; }//面签时间
        /// <summary>
        /// 面签状态
        /// </summary>
        public int ContractState { get; set; }
        /// <summary>
        /// 审批状态
        /// </summary>
        public DateTime ApproveTime { get; set; }//审批时间
        public int ApproveState { get; set; }
        public DateTime ProvideTime { get; set; }//放款时间
        /// <summary>
        /// 放款状态
        /// </summary>
        public int ProvideState { get; set; }

        /// <summary>
        /// 流水备注
        /// </summary>
        //public string Remark { get; set; }
    }
}